<?php

namespace App\Http\Controllers\UserApi;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\PayType;

class PaytypeController extends Controller
{
    public function pay_type_list(PayType $payType){
        $data = $payType->orderBy('id','desc')->get()->toArray();
        return self::success($data);
    }
}
